If true { run Razor-Macro1} Else {run Razor-Macro2}
Basically I'm trying to create it so that if I have selected a media-item (Property-field on my document-type) it shall show the img and If I haven't selected any media it shall run a Razor Macro instead.
If true { run Razor-Macro1} Else {run Razor-Macro2}
Basically I'm trying to create it so that if I have selected a media-item (Property-field on my document-type) it shall show the img and If I haven't selected any media it shall run a Razor Macro instead.
Any ideas?
You can do this with RenderPage:
is working on a reply...